package behavior.cor;

import java.math.BigDecimal;

/**
 * @author lzp
 * @Date:2023/2/27
 * @description: 再责任链上传递的请求对象
 */
public class Request {

	private String name;

	private BigDecimal amount;

	public Request(String name, BigDecimal amount) {
		this.name = name;
		this.amount = amount;
	}

	public String getName() {
		return name;
	}

	public BigDecimal getAmount() {
		return amount;
	}
}
